/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.LSP.ViolateLSP.ViolateLSP.impl;

/**
 *
 * @author Dwayne
 */
public class Rectangle 
{
        protected int m_width;
	protected int m_height;

	public void setWidth(int width)
        {
		m_width = width;
	}

	public void setHeight(int height)
        {
		m_height = height;
	}

	public int getWidth()
        {
		return m_width;
	}

	public int getHeight()
        {
		return m_height;
	}

	public int getArea()
        {
		return m_width * m_height;
	}
}
